Create a new windows application.
Drag and drop 3 text boxes, 1 rich text box, 4 label, 1 button onto the form.
Rename the textboxes as following:
- textbox1—>textBoxId
- textbox2—>textBoxPassword
- textbox3—>textBoxSendTo
- richTextbox1—>richTextBoxText
- button1—->buttonSend
In the solution explorer right cick on the Reference and add the following reference to the project:
Include the following lines:
using System;
using SMSClientLib;
using System.Net;
Double click on the button and add the following snippet to the click event:
string status = “”;
CookieContainer cookie = Login.Connect(textBoxId.Text, textBoxPassword.Text, out status);
string[] siteParameters = Login.GetSiteParameters(cookie);
string messgeSentResult = SendSMS.Send_Processing(textBoxSendTo.Text, richTextBoxText.Text, cookie, siteParameters);
diya
March 28, 2011 at 10:06 PM
thanks for sharing …
ashKAP
March 28, 2011 at 10:32 PM
u’re welcome π
Divpreet Singh
April 15, 2011 at 12:03 PM
Hello Ashish,
Thanks for sharing the wonderful trick.
Its working fine.
Have you also shared the above shown “ashKap Texter ” or I couldn’t find its link?
buy tramadol
April 17, 2011 at 5:35 PM
Great site. Keep doing.
Khushang
April 25, 2011 at 4:12 PM
Hey man aawesome yar…like it so much…
Pradeep
April 29, 2011 at 1:09 PM
thank u soo much
pramod reddy
June 21, 2011 at 8:43 PM
thanks for sharing its working
chethan
July 25, 2011 at 11:34 PM
thanks a lot for this… it helps me lot… π
Manash Pratim Das
August 10, 2011 at 9:30 PM
Thank You so much… Its a really very clean and easy process that worked best for me……
Vipul Kania
September 20, 2011 at 10:49 PM
Thanks a lot i was finding for the same thing..
u have solved my problem thanks a lot ………………………
arockiam
December 26, 2011 at 1:05 PM
thanks a lot.. It was really usefull